<div class="blockly-container">
  <div #blocklyDiv class="blockly-workspace"></div>
  <div class="code-controls">
    <button (click)="generateCode()">生成代码</button>
  </div>
</div>
